package demo01;

/**
 * @time 2020/9/10
 * @auth Gotcha
 * @describe
 */
public class CarTest {
    public static void main(String[] args) {
        System.out.println("------------------来一个常规无装饰的操作------------------------");
        Icar car = new Car();
        car.move();

        System.out.println("------------------增加新的功能，飞行---------------------------");
        Icar flycar = new FlyCar(car);
        flycar.move();

    }
}
